projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9770184
)
GtkScale Remove an unused variable
author
Matthias Clasen
<mclasen@redhat.com>
Wed, 18 Jan 2012 12:07:01 +0000
(07:07 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Wed, 18 Jan 2012 16:06:33 +0000
(11:06 -0500)
gtk/gtkscale.c
patch
|
blob
|
history
diff --git
a/gtk/gtkscale.c
b/gtk/gtkscale.c
index 6862ca35b3038e5758c8ef1b0802836fe1a842e9..b6e29dd5eee722ea8d2da476f45c22379a5af4d6 100644
(file)
--- a/
gtk/gtkscale.c
+++ b/
gtk/gtkscale.c
@@
-1157,10
+1157,9
@@
gtk_scale_draw (GtkWidget *widget,
GSList *m;
gint min_pos_before, min_pos_after;
gint min_pos, max_pos;
- gint n_marks;
orientation = gtk_orientable_get_orientation (GTK_ORIENTABLE (range));
-
n_marks =
_gtk_range_get_stop_positions (range, &marks);
+ _gtk_range_get_stop_positions (range, &marks);
layout = gtk_widget_create_pango_layout (widget, NULL);
gtk_range_get_range_rect (range, &range_rect);